﻿using System;
using System.Net;
using MessageLib;
using MessageLib.Frame;
using MessageLib.Frame.Base;

namespace VoiceMessager.Models
{
	public class CurrentSelection
	{
		public VerifyMethod VerifyMethod { get; set; } = VerifyMethod.None;
		public IPEndPoint IpEndPoint { get; set; } = new IPEndPoint(IPAddress.Parse("192.168.1.88"), 88);
		public ControlCommand ControlCommand { get; set; }
		public ControlCommandParam ControlCommandParam { get; set; }
		public string VoiceText { get; set; } = string.Empty;
		public FrameType CommandFrameType { get; set; }
		public MessageFrame MessageFrame { get; set; }
		public byte[] SetMac { get; set; } = new byte[6];
		public byte[] SetIp { get; set; } = new byte[4];
		public byte[] SetMask { get; set; }=new byte[4];
		public byte[] SetGateway { get; set; }= new byte[4];
		public byte Order { get; set; }
        public CommandFrame CurrentSelectedFrame { get; set; }
	}
}
